﻿<?xml version="1.0"?>
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"   
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"  
        xmlns:local="clr-namespace:DiskUsage"  mc:Ignorable="d"  
        x:Class="DiskUsage.MainWindow" Title="Disk Usage" Height="700" Width="980">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition MinWidth="150" Width="*"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition MinWidth="500" Width="700"/>
        </Grid.ColumnDefinitions>
        <GridSplitter ResizeDirection="Columns"
                      Grid.Column="1" 
                      Width="3" 
                      Height="Auto"
                      HorizontalAlignment="Stretch" 
                      VerticalAlignment="Stretch" 
                      Margin="0" 
                      Background="Green"/>
        <local:DirectoryTreeView x:Name="m_directoryTreeView"/>
        <Grid Grid.Column="2">
            <Grid.RowDefinitions>
                <RowDefinition MinHeight="300" Height="*"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition MinHeight="150" Height="*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <GridSplitter ResizeDirection="Rows" 
                          Grid.Column="0" 
                          Grid.Row="1" 
                          Width="Auto" 
                          Height="3" 
                          HorizontalAlignment="Stretch" 
                          VerticalAlignment="Stretch" 
                          Margin="0" 
                          Background="Green"/>
            <local:DriveInfoControl Grid.Row="0"/>
            <local:DirectoryListView Grid.Row="2" x:Name="m_directoryListView"/>
        </Grid>
    </Grid>
</Window>